﻿using System.Globalization;

namespace BrasilFramework.Controle.Silverlight.Comum
{
    public class ExpressaoRegular
    {
        public const string RE_LETRA = @"[a-zA-Z]";
        public const string RE_NUMERO = @"\d";
        public const string RE_SEPARADORES = @"[\.\/,\-\:\(\)\ ]";

        public readonly string RE_NUMERO_GLOBAL = @"^-?((\d{1,3}\.)*\d{3}|\d*" +
                                                  NumberFormatInfo.CurrentInfo.NumberDecimalSeparator +
                                                  @"{0,1}\d+|(\d{1,3}\.)*\d{3},{0,1}\d+|\d*)$";
    }
}